import { Controller } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';
import { Crud } from '@nestjsx/crud';
import { GoodsIssueService } from '../../services/goods-issue/goods-issue.service';
import { GoodsIssue } from '../../entities/goods_issue.entity ';

@Crud({
  model:{
    type:GoodsIssue
  },
  query:{
    exclude:["id"]
  }
})
@ApiTags('goods-issue')
@Controller('api/goods-issue')
export class GoodsIssueController {
  constructor(
    public readonly service: GoodsIssueService
  ){}
}
